<{include file="admincp_header.htm"}>
<script language="javascript">
function deletefilter(id) {
	if(confirm('<{$lan.suredelfilter}>')) {
		document.location='index.php?file=admincp&action=filters&job=delete&vc=<{$vc}>&id=' + id;
	}
}
</script>
<body>
<div class="block"></div>
<table cellspacing="1" cellpadding="4" class="commontable width100">
	<tr class="header">
		<td colspan="3"><div class="righttop"><a href="<{h name='filter'}>" target="_blank"><{$lan.help}></a></div><{$lan.filter}></td>
	</tr>
	<tr>
		<td>
		<table cellpadding="4" cellspacing="1" class="commontable width100">
			<tr class="header">
				<td width="30">ID</td>
				<td><{$lan.name}></td>
				<td><{$lan.remark}></td>
				<td><{$lan.data}></td>
				<td><{$lan.edit}></td>
				<td><{$lan.delete}></td>
			</tr>
			<{$filters}>
		</table>
		
		</td>
	</tr>
</table>
<div class="block"></div>
	<form action="index.php?file=admincp&action=filters&job=new" method="post">
	<table cellpadding="4" cellspacing="1" class="commontable width100">
		<tr class="header">
			<td><{$lan.addfilter}></td>
		</tr>
		<tr>
			<td><{$lan.title}> <input type="text" name="title"></td>
		</tr>
		<tr>
			<td><{$lan.remark}> <input type="text" name="remark" style="width:300px;"></td>
		</tr>
		<tr>
			<td align="center"><textarea name="filter" style="width:100%;height:200px;" class="mustoffer"></textarea><br /><input type="submit" value="<{$lan.save}>"></td>
		</tr>
	</table>
	</form>
</body>
</html>